package com.ruoyi.community.comment.mapper;

import java.util.List;
import com.ruoyi.community.comment.domain.CommunityComment;

/**
 * communitycommentMapper接口
 * 
 * @author ruoyi
 * @date 2025-05-22
 */
public interface CommunityCommentMapper 
{
    /**
     * 查询communitycomment
     * 
     * @param id communitycomment主键
     * @return communitycomment
     */
    public CommunityComment selectCommunityCommentById(Long id);

    /**
     * 查询communitycomment列表
     * 
     * @param communityComment communitycomment
     * @return communitycomment集合
     */
    public List<CommunityComment> selectCommunityCommentList(CommunityComment communityComment);

    /**
     * 新增communitycomment
     * 
     * @param communityComment communitycomment
     * @return 结果
     */
    public int insertCommunityComment(CommunityComment communityComment);

    /**
     * 修改communitycomment
     * 
     * @param communityComment communitycomment
     * @return 结果
     */
    public int updateCommunityComment(CommunityComment communityComment);

    /**
     * 删除communitycomment
     * 
     * @param id communitycomment主键
     * @return 结果
     */
    public int deleteCommunityCommentById(Long id);

    /**
     * 批量删除communitycomment
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCommunityCommentByIds(Long[] ids);
}
